package org.ray.pattern.jobmanager.batch;

public interface BatchJobManager<T, Y>
{
	public void submitBatchJob(BatchJob<T, Y> job);
	public void cancelSingleJob(T batchJobkey, Y singleJobKey);
	public void reportSingleJobFinished(T batchJobkey, SingleJob<T, Y> singleJob);
	public boolean isRegisteredBatchJob(T batchJobkey);
	
	public long getFeedbackInterval();
	public void setFeedbackInterval(long lFeedbackInterval);
}
